<template>
  <div class="header">
    <div class="header-one">
        <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=5056793045796457856&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
        <p>好卖点</p>
    </div>
    <div class="header-two">
      <ul>
        <li class="one">
          <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=8718220621131399474&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
          <input type="text" placeholder="请输入账号/手机号码" v-model="username">
        </li>
        <li class="two">
          <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=4718837396039123403&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
          <input type="password" placeholder="请输入密码" v-model="pwd">
        </li>
        <li class="three">
          <span>
            <a>忘记密码？</a>  /  <a>注册</a>
          </span>
          <span>
            <a>游客登录</a>
          </span>
        </li>
      </ul>
      <div class="header-two-one">
        <button @click="btn1()">登录</button>
      </div>
    </div>
    <div class="bottom">
      <p>其他登录</p>
      <div class="bottom-one">
        <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=8265365353902815229&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
      <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=8687722550792021246&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
      <img src="../../assets/大作业素材/_cgi-bin_mmwebwx-bin_webwxgetmsgimg__&MsgID=8115619371898918863&skey=@crypt_15d8304c_4a2ccf896570dee140be8d9c3071ead2&mmweb_appid=wx_webfilehelper.jpg" alt="">
      </div>
      
    </div>
  </div>
</template>

<script setup>
import router from "@/router";
import { ElMessage } from "element-plus";
import { ref } from "vue";

let username = ref('')
let pwd = ref('')

const btn1 =()=>{
  if(username.value==''||pwd.value==''){
    ElMessage.error('请输入账号密码！')
  }else{
    router.push('/home')
  }
}
  

</script>

<style scoped>
.header{
  width: 100%;
  height: 800px;
  background-color: #fe234c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.header-one{
  margin-bottom: 100px;
}
.header-one img{
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
}
.header-one p{
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 800;
}
.header-two ul .one,
.header-two ul .two{
  width: 280px;
  height: 40px;
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
}
.header-two ul li img{
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 4px;
}
.header-two ul li input{
  border: none;
  outline: none;
}
.header-two ul .three{
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.header-two ul .three span{
  color: white;
}
.header-two ul .three span a{
  color: white;
  font-size: 10px;
}
.header-two-one{
  display: flex;
  justify-content: center;
  margin: 10px;
  margin-bottom: 30px;
}
.header-two-one button{
  width: 200px;
  height: 40px;
  border-radius: 50px;
  border: none;
  font-weight: 1000;
}
.bottom{
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.bottom img{
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin-right: 15px;
}
</style> 